package cn.com.bluemoon.daps.model.vo;

import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.Valid;
import javax.validation.constraints.NotNull;

/**
 * @author karry
 * @Data 2021/7/27
 * @Time:16:03
 */
@Data
@Valid
public class SearchModelHistoryVo {

    @ApiModelProperty(value = "每页显示的数量")
    @NotNull(message = "每页显示的数量不允许为空")
    private Integer pageSize;

    @ApiModelProperty(value = "当前页码数")
    @NotNull(message = "当前页码数不允许为空")
    private Integer pageNum;

    @ApiModelProperty(value = "表中英文名")
    private String tableName;

    @ApiModelProperty(value = "发布开始时间 格式为 xxxx-xx-xx")
    private String releaseStartTime;

    @ApiModelProperty(value = "发布结束时间 格式为 xxxx-xx-xx")
    private String releaseEndTime;

    @ApiModelProperty(value = "模型id")
    @NotNull(message = "模型id不能为空")
    private String modelId;
}
